﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x020013B3 RID: 5043
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class TelevisionActivityData : IMessage<TelevisionActivityData>, IMessage, IEquatable<TelevisionActivityData>, IDeepCloneable<TelevisionActivityData>, IBufferMessage
	{
		// Token: 0x17003F96 RID: 16278
		// (get) Token: 0x0600E1DC RID: 57820 RVA: 0x0025BCC9 File Offset: 0x00259EC9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<TelevisionActivityData> Parser
		{
			get
			{
				return TelevisionActivityData._parser;
			}
		}

		// Token: 0x17003F97 RID: 16279
		// (get) Token: 0x0600E1DD RID: 57821 RVA: 0x0025BCD0 File Offset: 0x00259ED0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return TelevisionActivityDataReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17003F98 RID: 16280
		// (get) Token: 0x0600E1DE RID: 57822 RVA: 0x0025BCE2 File Offset: 0x00259EE2
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return TelevisionActivityData.Descriptor;
			}
		}

		// Token: 0x0600E1DF RID: 57823 RVA: 0x0025BCE9 File Offset: 0x00259EE9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public TelevisionActivityData()
		{
		}

		// Token: 0x0600E1E0 RID: 57824 RVA: 0x0025BCF1 File Offset: 0x00259EF1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public TelevisionActivityData(TelevisionActivityData other) : this()
		{
			this.kKIOHLDDJCJ_ = other.kKIOHLDDJCJ_;
			this.maxScore_ = other.maxScore_;
			this.dIIKBCALMGM_ = other.dIIKBCALMGM_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600E1E1 RID: 57825 RVA: 0x0025BD2E File Offset: 0x00259F2E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public TelevisionActivityData Clone()
		{
			return new TelevisionActivityData(this);
		}

		// Token: 0x17003F99 RID: 16281
		// (get) Token: 0x0600E1E2 RID: 57826 RVA: 0x0025BD36 File Offset: 0x00259F36
		// (set) Token: 0x0600E1E3 RID: 57827 RVA: 0x0025BD3E File Offset: 0x00259F3E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint KKIOHLDDJCJ
		{
			get
			{
				return this.kKIOHLDDJCJ_;
			}
			set
			{
				this.kKIOHLDDJCJ_ = value;
			}
		}

		// Token: 0x17003F9A RID: 16282
		// (get) Token: 0x0600E1E4 RID: 57828 RVA: 0x0025BD47 File Offset: 0x00259F47
		// (set) Token: 0x0600E1E5 RID: 57829 RVA: 0x0025BD4F File Offset: 0x00259F4F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint MaxScore
		{
			get
			{
				return this.maxScore_;
			}
			set
			{
				this.maxScore_ = value;
			}
		}

		// Token: 0x17003F9B RID: 16283
		// (get) Token: 0x0600E1E6 RID: 57830 RVA: 0x0025BD58 File Offset: 0x00259F58
		// (set) Token: 0x0600E1E7 RID: 57831 RVA: 0x0025BD60 File Offset: 0x00259F60
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint DIIKBCALMGM
		{
			get
			{
				return this.dIIKBCALMGM_;
			}
			set
			{
				this.dIIKBCALMGM_ = value;
			}
		}

		// Token: 0x0600E1E8 RID: 57832 RVA: 0x0025BD69 File Offset: 0x00259F69
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as TelevisionActivityData);
		}

		// Token: 0x0600E1E9 RID: 57833 RVA: 0x0025BD78 File Offset: 0x00259F78
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(TelevisionActivityData other)
		{
			return other != null && (other == this || (this.KKIOHLDDJCJ == other.KKIOHLDDJCJ && this.MaxScore == other.MaxScore && this.DIIKBCALMGM == other.DIIKBCALMGM && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600E1EA RID: 57834 RVA: 0x0025BDD4 File Offset: 0x00259FD4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.KKIOHLDDJCJ != 0U)
			{
				num ^= this.KKIOHLDDJCJ.GetHashCode();
			}
			if (this.MaxScore != 0U)
			{
				num ^= this.MaxScore.GetHashCode();
			}
			if (this.DIIKBCALMGM != 0U)
			{
				num ^= this.DIIKBCALMGM.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600E1EB RID: 57835 RVA: 0x0025BE45 File Offset: 0x0025A045
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600E1EC RID: 57836 RVA: 0x0025BE4D File Offset: 0x0025A04D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600E1ED RID: 57837 RVA: 0x0025BE58 File Offset: 0x0025A058
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.DIIKBCALMGM != 0U)
			{
				output.WriteRawTag(56);
				output.WriteUInt32(this.DIIKBCALMGM);
			}
			if (this.KKIOHLDDJCJ != 0U)
			{
				output.WriteRawTag(64);
				output.WriteUInt32(this.KKIOHLDDJCJ);
			}
			if (this.MaxScore != 0U)
			{
				output.WriteRawTag(96);
				output.WriteUInt32(this.MaxScore);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600E1EE RID: 57838 RVA: 0x0025BED0 File Offset: 0x0025A0D0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.KKIOHLDDJCJ != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.KKIOHLDDJCJ);
			}
			if (this.MaxScore != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.MaxScore);
			}
			if (this.DIIKBCALMGM != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.DIIKBCALMGM);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600E1EF RID: 57839 RVA: 0x0025BF40 File Offset: 0x0025A140
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(TelevisionActivityData other)
		{
			if (other == null)
			{
				return;
			}
			if (other.KKIOHLDDJCJ != 0U)
			{
				this.KKIOHLDDJCJ = other.KKIOHLDDJCJ;
			}
			if (other.MaxScore != 0U)
			{
				this.MaxScore = other.MaxScore;
			}
			if (other.DIIKBCALMGM != 0U)
			{
				this.DIIKBCALMGM = other.DIIKBCALMGM;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600E1F0 RID: 57840 RVA: 0x0025BFA4 File Offset: 0x0025A1A4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600E1F1 RID: 57841 RVA: 0x0025BFB0 File Offset: 0x0025A1B0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 56U)
				{
					if (num != 64U)
					{
						if (num != 96U)
						{
							this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
						}
						else
						{
							this.MaxScore = input.ReadUInt32();
						}
					}
					else
					{
						this.KKIOHLDDJCJ = input.ReadUInt32();
					}
				}
				else
				{
					this.DIIKBCALMGM = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04005960 RID: 22880
		private static readonly MessageParser<TelevisionActivityData> _parser = new MessageParser<TelevisionActivityData>(() => new TelevisionActivityData());

		// Token: 0x04005961 RID: 22881
		private UnknownFieldSet _unknownFields;

		// Token: 0x04005962 RID: 22882
		public const int KKIOHLDDJCJFieldNumber = 8;

		// Token: 0x04005963 RID: 22883
		private uint kKIOHLDDJCJ_;

		// Token: 0x04005964 RID: 22884
		public const int MaxScoreFieldNumber = 12;

		// Token: 0x04005965 RID: 22885
		private uint maxScore_;

		// Token: 0x04005966 RID: 22886
		public const int DIIKBCALMGMFieldNumber = 7;

		// Token: 0x04005967 RID: 22887
		private uint dIIKBCALMGM_;
	}
}
